<?php

use think\migration\Seeder;

class ExpressCompany extends Seeder
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run()
    {
        $companyData = [
            ['name'=>'顺丰快递'],
            ['name'=>'申通快递'],
            ['name'=>'圆通快递'],
            ['name'=>'中通快递'],
            ['name'=>'韵达快递'],
            ['name'=>'邮政快递'],
            ['name'=>'天天快递'],
        ];
        \think\facade\Db::name('express_company')->insertAll($companyData);
    }
}